<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<!--_header 作为公共模版分离出去-->
		<header class="navbar-wrapper">
			<div class="navbar navbar-fixed-top">
				<div class="container-fluid cl">
					<a class="logo navbar-logo f-l mr-10 hidden-xs" href="faceLoginSuccess"><c:if test="${user.ustate==2}">商家餐厅管理</c:if> 
								<c:if test="${user.ustate==3}">绘玩旅游后台管理</c:if></a>
					<a aria-hidden="false" class="nav-toggle Hui-iconfont visible-xs" href="javascript:;">&#xe667;</a>
					<nav id="Hui-userbar" class="nav navbar-nav navbar-userbar hidden-xs">
						<ul class="cl">
						<c:if test="${user.ustate==2}">
							<li class="dropDown dropDown_hover">
								<a href="#" class="dropDown_A">欢迎您：${user.uname} 商家 
								<i class="Hui-iconfont">&#xe6d5;</i></a>
								<ul class="dropDown-menu menu radius box-shadow">
									<li>
										<a href="${pageContext.request.contextPath}/adminapi/userexit?ustate=${user.ustate}">切换账户</a>
									</li>
									<li>
										<a href="${pageContext.request.contextPath}/adminpai/userexit?ustate=${user.ustate}">退出</a>
									</li>
								</ul>
							</li>
						</c:if>
						
						<c:if test="${user.ustate==3}">
							<li class="dropDown dropDown_hover">
								<a href="#" class="dropDown_A">欢迎您：${user.uname} 管理员 
								<i class="Hui-iconfont">&#xe6d5;</i></a>
								<ul class="dropDown-menu menu radius box-shadow">
									<li>
										<a href="topersonal" >个人信息</a>
									</li>
									<li>
										<a href="${pageContext.request.contextPath}/adminapi/userexit?ustate=${user.ustate}">切换账户</a>
									</li>
									<li>
										<a href="${pageContext.request.contextPath}/adminapi/userexit?ustate=${user.ustate}">退出</a>
									</li>
								</ul>
							</li>
						</c:if>
						
							<li id="Hui-msg">
								<a href="#" title="消息"><span class="badge badge-danger"></span><i class="Hui-iconfont" style="font-size:18px">&#xe68a;</i></a>
							</li>
							<li id="Hui-skin" class="dropDown right dropDown_hover">
								<a href="javascript:;" class="dropDown_A" title="换肤"><i class="Hui-iconfont" style="font-size:18px">&#xe62a;</i></a>
								<ul class="dropDown-menu menu radius box-shadow">
									<li>
										<a href="javascript:;" data-val="default" title="默认（黑色）">默认（黑色）</a>
									</li>
									<li>
										<a href="javascript:;" data-val="blue" title="蓝色">蓝色</a>
									</li>
									<li>
										<a href="javascript:;" data-val="green" title="绿色">绿色</a>
									</li>
									<li>
										<a href="javascript:;" data-val="red" title="红色">红色</a>
									</li>
									<li>
										<a href="javascript:;" data-val="yellow" title="黄色">黄色</a>
									</li>
									<li>
										<a href="javascript:;" data-val="orange" title="橙色">橙色</a>
									</li>
								</ul>
							</li>
						</ul>
					</nav>
				</div>
			</div>
		</header>
		<!--/_header 作为公共模版分离出去-->
    